package com.platform.common.core.domain.entity;

import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 货代公司机场配置对象 dic_agent_airportcode
 *
 * @author xuefk
 * @date 2023-04-14
 */
@NoArgsConstructor
public class DicAgentAirportcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** agent_id */
    @Excel(name = "agent_id")
    private Long agentId;

    /** 代理人编码 */
    @Excel(name = "代理人编码")
    private String agentCode;

    /** 国内国际范围标识,DOM_ARRIVE-国内进港,DOM_DEPARTURE-国内出港,INT_ARRIVE-国际进港,INT_DEPARTURE-国际出港 */
    @Excel(name = "国内国际范围标识,DOM_ARRIVE-国内进港,DOM_DEPARTURE-国内出港,INT_ARRIVE-国际进港,INT_DEPARTURE-国际出港")
    private String intflag;

    /** 机场三字码 */
    @Excel(name = "机场三字码")
    private String airportCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String businessName;

    /** 联系手机 */
    @Excel(name = "联系手机")
    private String businessPhone;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String businessTel;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 税号 */
    @Excel(name = "税号")
    private String paragraph;

    /** 银行 */
    @Excel(name = "银行")
    private String bank;

    /** 账号 */
    @Excel(name = "账号")
    private String bankAccount;

    /** 结算方式0-日结1-现结2-月结 */
    @Excel(name = "结算方式0-日结1-现结2-月结")
    private String settlement;

    /** 识别码 */
    @Excel(name = "识别码")
    private String idCode;

    /** 保证金 */
    @Excel(name = "保证金")
    private String bond;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAgentId(Long agentId)
    {
        this.agentId = agentId;
    }

    public Long getAgentId()
    {
        return agentId;
    }
    public void setAgentCode(String agentCode)
    {
        this.agentCode = agentCode;
    }

    public String getAgentCode()
    {
        return agentCode;
    }
    public void setIntflag(String intflag)
    {
        this.intflag = intflag;
    }

    public String getIntflag()
    {
        return intflag;
    }
    public void setAirportCode(String airportCode)
    {
        this.airportCode = airportCode;
    }

    public String getAirportCode()
    {
        return airportCode;
    }
    public void setBusinessName(String businessName)
    {
        this.businessName = businessName;
    }

    public String getBusinessName()
    {
        return businessName;
    }
    public void setBusinessPhone(String businessPhone)
    {
        this.businessPhone = businessPhone;
    }

    public String getBusinessPhone()
    {
        return businessPhone;
    }
    public void setBusinessTel(String businessTel)
    {
        this.businessTel = businessTel;
    }

    public String getBusinessTel()
    {
        return businessTel;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setParagraph(String paragraph)
    {
        this.paragraph = paragraph;
    }

    public String getParagraph()
    {
        return paragraph;
    }
    public void setBank(String bank)
    {
        this.bank = bank;
    }

    public String getBank()
    {
        return bank;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setSettlement(String settlement)
    {
        this.settlement = settlement;
    }

    public String getSettlement()
    {
        return settlement;
    }
    public void setIdCode(String idCode)
    {
        this.idCode = idCode;
    }

    public String getIdCode()
    {
        return idCode;
    }
    public void setBond(String bond)
    {
        this.bond = bond;
    }

    public String getBond()
    {
        return bond;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("agentId", getAgentId())
                .append("agentCode", getAgentCode())
                .append("intflag", getIntflag())
                .append("airportCode", getAirportCode())
                .append("businessName", getBusinessName())
                .append("businessPhone", getBusinessPhone())
                .append("businessTel", getBusinessTel())
                .append("address", getAddress())
                .append("paragraph", getParagraph())
                .append("bank", getBank())
                .append("bankAccount", getBankAccount())
                .append("settlement", getSettlement())
                .append("idCode", getIdCode())
                .append("bond", getBond())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
